package com.fast.model.result.common;

import lombok.Getter;

@Getter
public enum AppCode implements StatusCode {
    APP_ERROR(20001, "业务异常"),
    PRICE_ERROR(2002, "价格异常"),
    PRODUCT_NOT_EXIST(2003, "商品不存在"),
    ORDER_NOT_EXIST(2004, "订单不存在"),
    ORDER_DETAILS_NOT_EXIST(2005, "订单详情不存在");

    private Integer code;
    private String msg;

    AppCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
